package functions {	import functions.FunctionNode;	/**	 * @author pbalogh	 */	public class CosFunctionNode extends FunctionNode 	{		public function CosFunctionNode()		{			funcname = "cos";				functiontype = FUNCTION;		}				override public function getValue( args : XML, scope : Object ) : XML		{						var returnXML : XML;						var returnValue : Number = 0;						returnValue = Math.cos( Evaluator.getLiteral(Evaluator.evaluate(args.children()[ 0 ], scope)));										returnXML = <numberliteral>{returnValue}</numberliteral>;						return returnXML;		}	}}